<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>大转盘</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="telephone=no" name="format-detection">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<link rel="stylesheet" href="./css/phone.css" type="text/css"/>
<script type="text/javascript" src="./js/jquery-1.11.1.min.js"></script> 
<script type="text/javascript" src="./js/ht.js"></script>
<script type="text/javascript" src="./js/zhuanpanedit.js"></script>
</head>

<body>

<form method="post" action="UpdateSweepstake.pic?lujing=ShowSweepstake.sweep&lujing1=zhuanpanlist.jsp&id=${requestScope.bean.id }" id="form1" enctype="multipart/form-data">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="">
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="ED665C01">
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="">
</div>
        <div class="wrapper">
            <div class="header_wrapper">
                <div class="ht_img">
                    <a href="/default.jsp"><img width="40" src="./img/201507202058239699968645.jpg"></a>
                </div>
                <div class="btn-group btn-group-option pull-right">
                    <span style="color:#fff;"><%=session.getAttribute("username") %>，欢迎您</span>
                    <button type="button" class="btnn btn-default dropdown-toggle" data-toggle="dropdown">
                        <img src="./img/9.png">
                     </button>
                    <ul class="dropdown-menu pull-right" role="menu" style="display: none;">
                            <li><a href="./info.jsp"><img src="./img/q1.png">个人信息</a></li>
                            <li><a href="./touxiang.jsp"><img src="./img/q2.png">头像修改</a></li>
                            <li class="divider"></li>
                            <li><a id="lk" href="javascript:__doPostBack('ctl00$lk','')"><img src="./img/q3.png">退出</a></li>
                        </ul>
                </div>
                <div class="clr"></div>
             </div>
            <div class="page_wrapper">
                
    <div class="pageheader">
         <div class="pageicon pull-left">
             <a href="./default.jsp"><img src="./img/h-sy.png"></a>
         </div>
        <div class="media-body">
            <ul class="breadcrumb">
                    <li><a href="./default.jsp"><img src="./img/sy.png"></a></li>
                    <li><a href="./zhuanpanlist.jsp">微抽奖</a></li>
                    <li>微抽奖编辑</li>
            </ul>
        </div>
        <h4>微抽奖编辑</h4>
    </div>
    <div class="content">
        <div class="col-sm-12">
            <div class="form-group">
                <label class="col-sm-12 col-md-2 control-label">活动名称</label>
                <div class="col-sm-12 col-md-3">
                    <input name="title" type="text" value="${requestScope.bean.title }" id="ContentPlaceHolder1_name" class="editinput">
                </div>
            </div>            
        </div>
        <div class="col-sm-12">
            <div class="form-group">
                <label class="col-sm-12 col-md-2 control-label">活动说明</label>
                <div class="col-sm-12 col-md-5">
                    <textarea name="explain" rows="2" cols="20" id="ContentPlaceHolder1_remark" class="editinputline">${requestScope.bean.explain }</textarea>
                </div>
            </div>            
        </div>
        
        <div class="col-sm-12">
            <div class="form-group">
                <label class="col-sm-12 col-md-2 control-label">图片</label>
                <div class="col-sm-12 col-md-3">
                    <img src=".${requestScope.bean.picturePath }" id="ContentPlaceHolder1_img" style="max-width:200px;"><br>
                    <input type="file" name="ctl00$ContentPlaceHolder1$file1" id="ContentPlaceHolder1_file1"> 
                </div>
            </div>            
        </div>
        <div class="col-sm-12">
          <div class="pull-left text">中奖概率</div>  
             <div class="pull-left input">   
               <input type="text" maxlength="6" placeholder="中奖概率 1-100" data-type="probability" data-name="probability" class="lotterry_input lotterry_probability" value="${requestScope.bean.probability }" name="probability"> % </div>
             </div>
          </div>
           
        </div>
        <div class="col-sm-12 col-md-5">
                    <input name="ctl00$ContentPlaceHolder1$s" type="hidden" id="ContentPlaceHolder1_s" class="s">
                    <input type="submit" name="ctl00$ContentPlaceHolder1$btn" value="提交保存" onclick="return enablebtn();" id="ContentPlaceHolder1_btn" class="btn save_lotterry_btn">
                </div>
               
                
                        
        </div>
       
    </form>
    
</body>
</html>